package cn.hx.mall.order.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 退货原因表(OrderReturnReason)实体类
 *
 * @author makejava
 * @since 2022-11-02 17:57:09
 */
public class OrderReturnReason implements Serializable {
    private static final long serialVersionUID = -45895405214778985L;

    private Long id;
    /**
     * 退货类型
     */
    private String name;

    private Integer sort;
    /**
     * 状态：0->不启用；1->启用
     */
    private Integer status;
    /**
     * 添加时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}